package com.yc.entities;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 医生信息表
 * </p>
 *
 * @author kuakha
 * @since 2021-04-07
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="BloodSugarDoctor对象", description="医生信息表")
public class BloodSugarDoctor extends Model<BloodSugarDoctor> {

    private static final long serialVersionUID=1L;

    @ApiModelProperty(value = "医生表主键id")
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty(value = "院长id")
    private Integer doctorId;

    @ApiModelProperty(value = "医生姓名")
    private String doctorName;

    @ApiModelProperty(value = "医生姓名")
    private String doctorIcon;

    @ApiModelProperty(value = "院长id")
    private Integer deanId;

    @ApiModelProperty(value = "科室id")
    private Integer departmentId = 0;


    @Override
    protected Serializable pkVal() {
        return this.id;
    }

}
